dynamic_menu object

bool wrap
This property indicates whether the menu will wrap. If set to true, the menu will cycle back to the first option if an attempt is made to move past the final option, and vice versa.

bool allow_escape
This property indicates whether the user is allowed to press the Escape key. If set to true, the menu will return if either the Enter key is pressed or the Escape key. Otherwise only enter is monitored.

bool enable_home_and_end
This property indicates whether the user should be allowed to press home and end to jump to the start or the end of the menu respectively.